#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPaintEvent>
#include "diagram.h"

#include <QPushButton>
#include <QDebug>
#include <QLabel>
#include <QLayout>
#include <QVBoxLayout>
#include <QGraphicsOpacityEffect>
#include <QParallelAnimationGroup>
#include <QSequentialAnimationGroup>
#include <QPropertyAnimation>
#include <QPainter>
#include <QPaintEvent>

#include "BPageSwitch/BPageSwitchContainer.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    QPoint initPoint = QPoint(0, 0);
    QSize initSize = QSize(100, 100);

protected:
    void paintEvent(QPaintEvent* event) override;

private:
    Ui::MainWindow *ui;

    BPageSwitchContainer* widget;

//protected:
//    void paintEvent(QPaintEvent* event) override;
};

#endif // MAINWINDOW_H
